From c8e084699c137d1ccb71984111d3ea1aed6469df Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sun, 13 Aug 2006 17:24:56 +0000 Subject: [PATCH] Add read tests for gzipped data files. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2295 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/testo | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gpsbabel/testo b/gpsbabel/testo index 5799ee616..9000ea3a4 100755 --- a/gpsbabel/testo +++ b/gpsbabel/testo @@ -1100,5 +1100,12 @@ compare ${TMPDIR}/stmsdf-route.sdf ${REFERENCE}/route/stmsdf-route.sdf ${PNAME} -i stmsdf -f ${TMPDIR}/stmsdf-track.sdf -f ${TMPDIR}/stmsdf-route.sdf -o garmin_txt,prec=2 -F ${TMPDIR}/stmsdf.txt compare ${TMPDIR}/stmsdf.txt ${REFERENCE}/stmsdf.txt +# +# gzipped file i/o +# +${PNAME} -i compegps -f ${REFERENCE}/compegps.wpt.gz -o gpx -F ${TMPDIR}/compegps-wpt.gpx +compare ${REFERENCE}/compegps-wpt.gpx ${TMPDIR}/compegps-wpt.gpx +${PNAME} -i cst -f ${REFERENCE}/route/cst-sample.cst.gz -o gpx -F ${TMPDIR}/cst-sample.gpx +compare ${TMPDIR}/cst-sample.gpx ${REFERENCE}/route/cst-sample.gpx exit 0 -- 2.30.2